import cv2 as cv
import numpy as np


def main():
    img = np.ones((512, 512, 3), np.uint8) * 255
    text = 'OpenCV'
    position = (100, 100)
    font = cv.FONT_HERSHEY_SIMPLEX
    scale = 1
    color = (0, 0, 0)
    thickness = 1
    line_type = cv.LINE_AA

    cv.putText(img, text, position, font, scale, color, thickness, line_type)
    cv.imshow("Image", img)
    cv.waitKey(0)
    cv.destroyAllWindows()


if __name__ == "__main__":
    main()
